package com.wynet.shopsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("t_goods")
@NoArgsConstructor
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String g_name;
    private String g_price;
    private String g_type;
    private String g_photo;
    private String g_likes;
    private String g_looks;


    public Goods(String g_name, String g_price, String g_type, String g_photo, String g_likes, String g_looks) {
        this.g_name = g_name;
        this.g_price = g_price;
        this.g_type = g_type;
        this.g_photo = g_photo;
        this.g_likes = g_likes;
        this.g_looks = g_looks;
    }
}
